package com.woniu.order.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-09
 */
@TableName("t_logistics")
@ApiModel(value = "TLogistics对象", description = "")
public class TLogistics implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("本表主键id")
    @TableId(value = "log_id", type = IdType.AUTO)
    private Integer logId;

    @ApiModelProperty("订单表id")
    private Integer orderId;

    @ApiModelProperty("派车单号")
    private Integer vehicleId;

    @ApiModelProperty("运输类型")
    private String transType;

    @ApiModelProperty("路线")
    private String route;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatiomTime;

    @ApiModelProperty("指派时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appointedTime;

    @ApiModelProperty("车辆类型")
    private String cartypeName;

    @ApiModelProperty("承运商")
    private String carrierName;

    @ApiModelProperty("车辆")
    private String carPlate;

    @ApiModelProperty("司机姓名")
    private String driverName;

    @ApiModelProperty("到达日期")
    private String arrivalDate;

    @ApiModelProperty("当前节点")
    private String nodeCurrent;

    public Integer getLogId() {
        return logId;
    }

    public void setLogId(Integer logId) {
        this.logId = logId;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }
    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }
    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public Date getCreatiomTime() {
        return creatiomTime;
    }

    public void setCreatiomTime(Date creatiomTime) {
        this.creatiomTime = creatiomTime;
    }

    public Date getAppointedTime() {
        return appointedTime;
    }

    public void setAppointedTime(Date appointedTime) {
        this.appointedTime = appointedTime;
    }

    public String getCartypeName() {
        return cartypeName;
    }

    public void setCartypeName(String cartypeName) {
        this.cartypeName = cartypeName;
    }
    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName;
    }
    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getArrivalDate() {
        return arrivalDate;
    }

    public void setArrivalDate(String arrivalDate) {
        this.arrivalDate = arrivalDate;
    }
    public String getNodeCurrent() {
        return nodeCurrent;
    }

    public void setNodeCurrent(String nodeCurrent) {
        this.nodeCurrent = nodeCurrent;
    }

    @Override
    public String toString() {
        return "TLogistics{" +
                "logId=" + logId +
                ", orderId=" + orderId +
                ", vehicleId=" + vehicleId +
                ", transType='" + transType + '\'' +
                ", route='" + route + '\'' +
                ", creatiomTime=" + creatiomTime +
                ", appointedTime=" + appointedTime +
                ", cartypeName='" + cartypeName + '\'' +
                ", carrierName='" + carrierName + '\'' +
                ", carPlate='" + carPlate + '\'' +
                ", driverName='" + driverName + '\'' +
                ", arrivalDate='" + arrivalDate + '\'' +
                ", nodeCurrent='" + nodeCurrent + '\'' +
                '}';
    }
}
